<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<meta name="viewport"           content="width=device-width, initial-scale=1"/>

    <title>JASP</title>

	<link rel="stylesheet" href="css/jquery-ui-1.13.2.custom.css"			type="text/css" />
	<link rel="stylesheet" href="css/etch.css"								type="text/css" />
	<link rel="stylesheet" href="css/quill.snow.css"						type="text/css" />
	<link rel="stylesheet" href="css/jasp.css"								type="text/css"/>
	<link rel="stylesheet" href="css/lightTheme-jasp.css"					type="text/css" id="style"/>
	<link rel="stylesheet" href="css/printing.css"							type="text/css" />
	<link rel="stylesheet" href="css/highlight-default.min.css"				type="text/css" />
	
    <script type="text/javascript" >   var insideJASP = false;				</script>
	<script type="text/javascript" src="js/jquery-3.7.0.js">                </script>
	<script type="text/javascript" src="js/jquery-ui-1.13.2.custom.js">    </script>
	<script type="text/javascript" src="js/underscore-min.js">            </script>
	<script type="text/javascript" src="js/backbone-1.5.0.js">           </script>
	<script type="text/javascript" src="js/etch.js">                    </script>
	<script type="text/javascript" src="js/mathjax-config.js">   	     </script>
	<script type="text/javascript" src="js/mathjax-tex-svg-full.js">   	  </script>
	<script type="text/javascript" src="js/quill-blot-formatter.min.js">  </script>
	<script type="text/javascript" src="js/highlight.min.js">			 </script>
	<script type="text/javascript" src="js/highlight-r.min.js">			</script>
	<script type="text/javascript" src="js/quill.js">                  </script>
	<script type="text/javascript" src="js/mrkdwn.js">                </script>
	<script type="text/javascript" src="js/jaspwidgets.js">          </script>
	<script type="text/javascript" src="js/jaspNotes.js">            </script>
	<script type="text/javascript" src="js/object.js">              </script>
	<script type="text/javascript" src="js/utils.js">              </script>
	<script type="text/javascript" src="js/table.js">             </script>
	<script type="text/javascript" src="js/image.js">            </script>
	<script type="text/javascript" src="js/collection.js">      </script>
	<script type="text/javascript" src="js/qwebchannel.js">    </script>
	<script type="text/javascript" src="js/analysis.js">      </script>
	<script type="text/javascript" src="js/analyses.js">     </script>
	<script type="text/javascript" src="js/reportNode.js">  </script>
	<script type="text/javascript" src="js/htmlNode.js">   </script>
	<script type="text/javascript" src="js/column.js">    </script>
	<script type="text/javascript" src="js/main.js">     </script>

</head>
<body>
	<div id="results">
          <div id="spacer" style="height: 1px;"></div>
	</div>

	<div id="bottomSpacer" style="height: 0px;"></div>

	<script type="text/javascript">
            console.log("JASP standalone html was loaded")

			jasp = { reportingVisible: true }; 

            function readResults()
            {
                $.getJSON("results.json", function(results) {
					for(var analysis in results.analyses)
						window.analysisChanged(results.analyses[analysis])
                    window.setResultsMeta(results.meta);
					
                });

            };

            readResults();

            setInterval(readResults, 15000); //try reading 15 sec

	</script>
</body>
</html>
